package com.lanswon.qzsmk.model;

import java.io.Serializable;
import java.util.Date;

import com.lanswon.qzsmk.vo.ServiceObject;
/**
 * 采集单
 * @author sun
 *
 */
public class Collection  extends ServiceObject implements Serializable {
    /**
	 * 
	 */
	private static final long serialVersionUID = -7555799209879391892L;

	/** 采集单ID */
    private String collectionId;

    /** 采集单编号 */
    private String collectionNo;

    /** 客户编号 */
    private String customerNo;

    /** 姓名 */
    private String customerName;

    /** 证件类型 */
    private String paperType;

    /** 证件号码 */
    private String paperNo;

    /** 卡片序列号 */
    private String cardSeqNo;

    /** 申领日期 */
    private Date applyDate;

    /** 是否拍照 0否  1是 默认为否，即0否 */
    private String isPhoto;

    /** 采集网点编号 */
    private String collBranchNo;

    /** 采集网点名称 */
    private String collBranchName;

    /** 数据来源  1社保2读取二代身份证  3手工录入 */
    private String dataOrigin;

    /** 是否加急  0.不加急 1.加急 默认为0不加急 */
    private String isUrgent;

    /** 创建柜员号 */
    private String crtOperator;

    /** 创建日期 */
    private Date crtDate;

    /** 最后修改柜员号 */
    private String lastOperator;

    /** 最后修改日期 */
    private Date lastDate;


    public String getCustomerName() {
		return customerName;
	}

	public void setCustomerName(String customerName) {
		this.customerName = customerName;
	}

	public String getPaperType() {
		return paperType;
	}

	public void setPaperType(String paperType) {
		this.paperType = paperType;
	}

	public String getPaperNo() {
		return paperNo;
	}

	public void setPaperNo(String paperNo) {
		this.paperNo = paperNo;
	}

	public String getCardSeqNo() {
		return cardSeqNo;
	}

	public void setCardSeqNo(String cardSeqNo) {
		this.cardSeqNo = cardSeqNo;
	}

	public String getCollectionId() {
        return collectionId;
    }

    public void setCollectionId(String collectionId) {
        this.collectionId = collectionId == null ? null : collectionId.trim();
    }

    public String getCollectionNo() {
        return collectionNo;
    }

    public void setCollectionNo(String collectionNo) {
        this.collectionNo = collectionNo == null ? null : collectionNo.trim();
    }

    public String getCustomerNo() {
        return customerNo;
    }

    public void setCustomerNo(String customerNo) {
        this.customerNo = customerNo == null ? null : customerNo.trim();
    }


    public Date getApplyDate() {
        return applyDate;
    }

    public void setApplyDate(Date applyDate) {
        this.applyDate = applyDate;
    }

    public String getIsPhoto() {
        return isPhoto;
    }

    public void setIsPhoto(String isPhoto) {
        this.isPhoto = isPhoto == null ? null : isPhoto.trim();
    }

    public String getCollBranchNo() {
        return collBranchNo;
    }

    public void setCollBranchNo(String collBranchNo) {
        this.collBranchNo = collBranchNo == null ? null : collBranchNo.trim();
    }

    public String getCollBranchName() {
        return collBranchName;
    }

    public void setCollBranchName(String collBranchName) {
        this.collBranchName = collBranchName == null ? null : collBranchName.trim();
    }

    public String getDataOrigin() {
        return dataOrigin;
    }

    public void setDataOrigin(String dataOrigin) {
        this.dataOrigin = dataOrigin == null ? null : dataOrigin.trim();
    }

    public String getIsUrgent() {
        return isUrgent;
    }

    public void setIsUrgent(String isUrgent) {
        this.isUrgent = isUrgent == null ? null : isUrgent.trim();
    }

    public String getCrtOperator() {
        return crtOperator;
    }

    public void setCrtOperator(String crtOperator) {
        this.crtOperator = crtOperator == null ? null : crtOperator.trim();
    }

    public Date getCrtDate() {
        return crtDate;
    }

    public void setCrtDate(Date crtDate) {
        this.crtDate = crtDate;
    }

    public String getLastOperator() {
        return lastOperator;
    }

    public void setLastOperator(String lastOperator) {
        this.lastOperator = lastOperator == null ? null : lastOperator.trim();
    }

    public Date getLastDate() {
        return lastDate;
    }

    public void setLastDate(Date lastDate) {
        this.lastDate = lastDate;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", collectionId=").append(collectionId);
        sb.append(", collectionNo=").append(collectionNo);
        sb.append(", customerNo=").append(customerNo);
        sb.append(", applyDate=").append(applyDate);
        sb.append(", isPhoto=").append(isPhoto);
        sb.append(", collBranchNo=").append(collBranchNo);
        sb.append(", collBranchName=").append(collBranchName);
        sb.append(", dataOrigin=").append(dataOrigin);
        sb.append(", isUrgent=").append(isUrgent);
        sb.append(", crtOperator=").append(crtOperator);
        sb.append(", crtDate=").append(crtDate);
        sb.append(", lastOperator=").append(lastOperator);
        sb.append(", lastDate=").append(lastDate);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}